package top.forgirl.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.forgirl.result.Result;
import top.forgirl.service.ITestService;

@RestController
public class TestController {

    @Autowired()
    private ITestService iTestService;

    @GetMapping("/hello")
    public Result<String> sayHello() {
        return iTestService.sayHello();
    }
}

